package cn.tangshh.universal.core.util;

import lombok.extern.slf4j.Slf4j;
import org.aspectj.lang.JoinPoint;

/**
 * AOP切面工具
 *
 * @author Tang
 * @version v1.0
 * @since 2024/5/31
 */
@Slf4j
public final class AspectUtil {
    /**
     * 获取全名
     *
     * @param point 连接点
     * @return {@link String }
     */
    public static String getWholeName(JoinPoint point) {
        return point.getTarget().getClass().getSimpleName() + "." + point.getSignature().getName();
    }
}
